/*


 */

package jas.http.server;

import jas.http.logging.HttpLogger;

/**
 * Defines the configuration of an HttpServer.
 */
public interface HttpServerFactory {
    /**
     * @return the port in which the server should accept connections.
     */
    int getListenPort();
    
    /**
     * @return creates the object the server should use for logging.
     */
    HttpLogger createLogger();
    
    /**
     * @return creates the server's connection handler.
     */
    ConnectionHandler createConnectionHandler();
    
}
